﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace SFast.Enums
{

    /// <summary>
    /// 此特性只可用于枚举，不可重复，不可继承
    /// </summary>
    [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
    public class RemarkAttribute : Attribute
    {
        private string _remark;
        private String _stringExtend1;
        private String _stringExtend2;
        private String _stringExtend3;
        private String _stringExtend4;
        private String _stringExtend5;

        private int _intExtend1;
        private int _intExtend2;
        private int _intExtend3;
        private int _intExtend4;
        private int _intExtend5;

        public RemarkAttribute(string _remark)
        {
            this._remark = _remark;
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }
        //扩展自定义1
        public String StringExtend1
        {
            get { return _stringExtend1; }
            set { _stringExtend1 = value; }
        }

        //扩展自定义2
        public String StringExtend2
        {
            get { return _stringExtend2; }
            set { _stringExtend2 = value; }
        }
        //扩展自定义3
        public String StringExtend3
        {
            get { return _stringExtend3; }
            set { _stringExtend3 = value; }
        }
        //扩展自定义4
        public String StringExtend4
        {
            get { return _stringExtend4; }
            set { _stringExtend4 = value; }
        }
        //扩展自定义5
        public String StringExtend5
        {
            get { return _stringExtend5; }
            set { _stringExtend5 = value; }
        }

        //扩展自定义1
        public int IntExtend1
        {
            get { return _intExtend1; }
            set { _intExtend1 = value; }
        }

        //扩展自定义2
        public int IntExtend2
        {
            get { return _intExtend2; }
            set { _intExtend2 = value; }
        }
        //扩展自定义3
        public int IntExtend3
        {
            get { return _intExtend3; }
            set { _intExtend3 = value; }
        }
        //扩展自定义4
        public int IntExtend4
        {
            get { return _intExtend4; }
            set { _intExtend4 = value; }
        }
        //扩展自定义5
        public int IntExtend5
        {
            get { return _intExtend5; }
            set { _intExtend5 = value; }
        }

    }
}
